package com.open.cinema.system.ServiceImpl;

import com.open.cinema.system.mapper.UserMapper;
import com.open.cinema.system.model.UserInfo;
import com.open.cinema.system.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public UserInfo finUserByUserCode(String userCode) {
        return userMapper.findUserByUserCode(userCode);
    }
}
